package org.example.sportdemo.entity;

import java.util.Date;

public class Product {

    private Integer id;

    private String name;

    private String photo;

    private String types;

    private Integer kucun;

    private Double price;

    private Integer shangjia;

    private Integer status;

    private String content;

    private Date create_time;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public String getTypes() {
        return types;
    }

    public void setTypes(String types) {
        this.types = types;
    }

    public Integer getKucun() {
        return kucun;
    }

    public void setKucun(Integer kucun) {
        this.kucun = kucun;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Integer getShangjia() {
        return shangjia;
    }

    public void setShangjia(Integer shangjia) {
        this.shangjia = shangjia;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    @Override
    public String toString() {
        return "Product{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", photo='" + photo + '\'' +
                ", types='" + types + '\'' +
                ", kucun=" + kucun +
                ", price=" + price +
                ", shangjia=" + shangjia +
                ", status=" + status +
                ", content='" + content + '\'' +
                ", create_time=" + create_time +
                '}';
    }
}
